package com.tengju.bff.interfaces.covercharge.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Pattern;
import java.io.Serializable;

/**
 * @author liang_shi
 * @date 2020/7/27 21:54
 * @description
 */
@Data
@ApiModel(value = "签署成功合同查询")
public class SignSucContractQuery implements Serializable {

    @ApiModelProperty(value = "用户id：idCode-200000", required = true)
    @NotBlank(message = "用户id不能为空")
    private Long userId;

    @ApiModelProperty(value = "平台编号：ABM/DT", required = true)
    @Pattern(regexp = "ABM|DT", message = "平台编号格式不正确")
    private String platformCode;


}
